import getlink from "@/api/getapi.js"
let MyScmhM = {
    state:{
        scmh:""
    },
    mutations:{
        UPSCMHDATA(state,payload){
            state.scmh=payload
        }
    },
    actions:{
        LINK_SCMH_DATA(conscsp,payload){
            // console.log(context)
            getlink(payload).then((ok)=>{
                console.log(ok.data.scmh,"scmh")
                conscsp.commit("UPSCMHDATA",ok.data.scmh)
            }).catch((err)=>{
                console.log(err)
            })
        }
    }
}

export default MyScmhM;


// TvHotM 
